package staticTest.staticFather;

public class Son extends Father {

	static String sonname="sonname";
	
	static
	{
		System.out.println("对于子类Son 静态初始化块1里面fatherName="+fatherName);
		System.out.println("对于子类Son 静态初始化块1里面sonName="+sonname);
	}
	
	public Son()
	{
		System.out.println("构造器里面sonName="+sonname);
	}
	
	{
		System.out.println("对于子类Son 初始化块2里面sonName="+sonname);
	}
	
	public static String generateName()
	{
		return "fathername";
	}
	
}
